package com.project.bean;

import java.util.Date;

public class ContractBean {
    private Integer ctId;

    private Integer ctUId1;

    private Integer ctUId2;
    
    /**1为签约中，
	 * 2为签约已取消(提出方动作)，
	 * 3为签约已拒绝(接受方动作),
	 * 4为签约已完成(接收方动作)，
	 * 5为已解约(双方的动作)，
	 */
    private Integer ctState;

    private Date ctTime;

    private UserBean userBean01;

    private UserBean userBean02;

    public Integer getCtId() {
    	Date date = new Date();
        return ctId;
    }
   
    public void setCtId(Integer ctId) {
        this.ctId = ctId;
    }

    public Integer getCtUId1() {
        return ctUId1;
    }

    public void setCtUId1(Integer ctUId1) {
        this.ctUId1 = ctUId1;
    }

    public Integer getCtUId2() {
        return ctUId2;
    }

    public void setCtUId2(Integer ctUId2) {
        this.ctUId2 = ctUId2;
    }

    public Integer getCtState() {
        return ctState;
    }

    public void setCtState(Integer ctState) {
        this.ctState = ctState;
    }

    public Date getCtTime() {
        return ctTime;
    }

    public void setCtTime(Date ctTime) {
        this.ctTime = ctTime;
    }

	public UserBean getUserBean01() {
		return userBean01;
	}

	public void setUserBean01(UserBean userBean01) {
		this.userBean01 = userBean01;
	}

	public UserBean getUserBean02() {
		return userBean02;
	}

	public void setUserBean02(UserBean userBean02) {
		this.userBean02 = userBean02;
	}

	@Override
	public String toString() {
		return "ContractBean [ctId=" + ctId + ", ctUId1=" + ctUId1 + ", ctUId2=" + ctUId2 + ", ctState=" + ctState
				+ ", ctTime=" + ctTime + ", userBean01=" + userBean01 + ", userBean02=" + userBean02 + "]";
	}
    
}